import os
basedir=os.path.abspath(os.path.dirname(__file__))#获取当前的绝对路径
class Config:
    SECRET_KEY=os.environ.get('SECRET_KEY') or 'you will never guess'
    SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URI') or 'sqlite:///' + os.path.join(basedir, 'app.db')
    SQLALCHEMY_TRACK_NODIFICATIONS = False